package com.cloudweb.oa.api;

import cn.js.fan.util.ErrMsgException;
import com.alibaba.fastjson.JSONObject;
import org.springframework.web.multipart.MultipartFile;

import java.sql.SQLException;
import java.util.Date;

public interface IAttendanceService {

    JSONObject getPunchPage() throws SQLException;

    long[] punch(String userName, double lat, double lng, String address, int type, MultipartFile[] files) throws ErrMsgException;

    int[] getPunchType(String userName, Date t);
}
